export function userToken(state:any) {
    return state.user.userInfo.cookieToken;
}
export function userType(state:any) {
    return Number(state.user.userInfo.type);
}
export function userInfo(state:any) {
    return state.user.userInfo;
}